<template>
<div>
	<Verify
		@success="'success'"
		:mode="'pop'"    
		:captchaType="'blockPuzzle'"   
        :imgSize="{ width: '330px', height: '155px' }" 
        ref="verify"
    ></Verify>
    
    <button @click="useVerify">调用验证组件</button>
    </div>
</template>


<script>
  import Verify from "./../../components/verifition/Verify";  

  export default {
    data () {

      return {
       
        captchaPath: ''
      }
    },
    	components: {
		Verify
	},
    methods: {
     success(params){
		  // params 返回的二次验证参数, 和登录参数一起回传给登录接口，方便后台进行二次验证
        },
        useVerify(){
            this.$refs.verify.show()
        }



    }
  }
</script>


